package com.ditian.ret;

import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
import com.ditian.model.Face;
import com.ditian.model.Result;
import com.ditian.model.Thresholds;

public class SearchRet extends Common{
	
	
	/**
	 * <pre>
	 * 比对结果对象数组
	 * 注：如果传入图片但图片中未检测到人脸，则无法进行人脸搜索，本字段不返回。
	 * </pre>
	 */
	@JSONField(name="results")
	private List<Result> results;
	
	/**
	 * 
	 */
	@JSONField(name="thresholds")
	private Thresholds thresholds;
	
	/**
	 * 
	 */
	@JSONField(name="image_id")
	private String imageId;
	
	/**
	 * 
	 */
	@JSONField(name="faces")
	private List<Face> faces;

	public List<Result> getResults() {
		return results;
	}

	public void setResults(List<Result> results) {
		this.results = results;
	}

	public Thresholds getThresholds() {
		return thresholds;
	}

	public void setThresholds(Thresholds thresholds) {
		this.thresholds = thresholds;
	}

	public String getImageId() {
		return imageId;
	}

	public void setImageId(String imageId) {
		this.imageId = imageId;
	}

	public List<Face> getFaces() {
		return faces;
	}

	public void setFaces(List<Face> faces) {
		this.faces = faces;
	}

	@Override
	public String toString() {
		return "SearchRet [results=" + results + ", thresholds=" + thresholds
				+ ", imageId=" + imageId + ", faces=" + faces + "]" + super.toString();
	}
	
	

}
